//
//  LoginModel.h
//  GLGW_Shoping
//
//  Created by yang on 2018/12/13.
//  Copyright © 2018年 yang. All rights reserved.
//

#import <Foundation/Foundation.h>
@class LoginModel_Data;
@class LoginModel_RegeditTypes;

NS_ASSUME_NONNULL_BEGIN

@interface LoginModel : NSObject<NSCoding>
@property (nonatomic,copy)NSString * message;
@property (nonatomic,assign)NSInteger code;
@property (nonatomic,strong)LoginModel_Data * data;

@end

@interface LoginModel_Data : NSObject<NSCoding>
@property (nonatomic,copy)NSString * avatar;//t头像
@property (nonatomic,copy)NSString * nickName;//昵称
@property (nonatomic,copy)NSString * token;
@property (nonatomic,assign)NSInteger type;//账户类型
@property (nonatomic,copy)NSString * userId;
@property (nonatomic,strong)LoginModel_RegeditTypes * regeditTypes;

@end

@interface LoginModel_RegeditTypes : NSObject<NSCoding>//绑定
@property (nonatomic,assign)NSInteger isQQregist;//绑定类型：0::代表已经绑定1：未绑定
@property (nonatomic,assign)NSInteger isWxRegist;//绑定类型：0::代表已经绑定1：未绑定
@end

NS_ASSUME_NONNULL_END
